﻿using Nop.Core.Domain.Localization;

namespace Nop.Core.Domain.Shipping
{
    public class ShippingTimeWindow : BaseEntity, ILocalizedEntity
    {
        /// <summary>
        /// The description of the current time window
        /// </summary>
        public virtual string Description { get; set; }
        /// <summary>
        /// The time window begins in 24-hour format. 13 stands for 1 PM
        /// </summary>
        public virtual int NoEarlyThan { get; set; }
        /// <summary>
        /// The time window ends in 24-hour format. 13 stands for 1 PM
        /// </summary>
        public virtual int NoLateThan { get; set; }

        /// <summary>
        /// allow ordertype like 1,2
        /// </summary>
        public virtual string AllowOrderType { get; set; }
        /// <summary>
        /// allow AddressType like 1,2
        /// </summary>
        public virtual string AllowAddressType { get; set; }

        /// <summary>
        /// The cutoff time in minutes of day in order for this time window to be selectable same day
        /// </summary>
        public virtual int SameDayCutoff { get; set; }

        public int DisplayOrder { get; set; }


    }
}
